home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Networking / GetPPPStatus / headers / Prefix.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-06  |  1.2 KB  |  45 lines  |  [TEXT/CWIE]

  1. /*
  2. **    Apple Macintosh Developer Technical Support
  3. **
  4. **    Functions to help you when you are building and sending Apple events.
  5. **
  6. **    by Andy Bachorski, Apple Developer Technical Support
  7. **
  8. **    File:        Prefix.h
  9. **
  10. **    Version:    0.3.5
  11. **
  12. **    Copyright © 1996 Apple Computer, Inc.
  13. **    All rights reserved.
  14. **
  15. **    You may incorporate this sample code into your applications without
  16. **    restriction, though the sample code has been provided "AS IS" and the
  17. **    responsibility for its operation is 100% yours.  However, what you are
  18. **    not permitted to do is to redistribute the source as "DSC Sample Code"
  19. **    after having made changes. If you're going to re-distribute the source,
  20. **    we require that you make it clear in the source that the code was
  21. **    descended from Apple Sample Code, but that you've made changes.
  22. */
  23.  
  24.  
  25. #ifndef SystemSevenOrLater
  26.     #define SystemSevenOrLater        true
  27.     #define OLDROUTINENAMES            false
  28.     #define OLDROUTINELOCATIONS        false
  29. #endif
  30.  
  31. //    ****    Comment out the following line to build the        ****
  32. //    ****    library without pascal calling conventions.        ****
  33.  
  34. #define USING_PASCAL_CALLING    false
  35.  
  36.  
  37. //    ****    turnoff pascal calling conventions based on above constant
  38.  
  39. #if USING_PASCAL_CALLING
  40.     #define PASCAL pascal
  41. #else
  42.     #define PASCAL
  43. #endif
  44.  
  45.